Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 9acee00af00f8f31d7d2c4c648a7b2a99b1061a7


Parents : 72da9fd
Author : Ivan <ivan@quad4.io>
Signature : Invalid signer <e46112d44649266d71fe2193e00a4710>, author is <ivan@quad4.io>
Date : 2026-06-12T20:46:31-05:00

feat(database): initialize storage directory and identity file path in test setup

Changes

1 files changed, 2 insertions(+), 0 deletions(-)


Diff

diff --git a/tests/backend/test_database_lifecycle_safety.py b/tests/backend/test_database_lifecycle_safety.py
index 4d32cbdf..d3ef5c03 100644
--- a/tests/backend/test_database_lifecycle_safety.py
+++ b/tests/backend/test_database_lifecycle_safety.py
@@ -208,6 +208,8 @@ class TestMeshchatRestoreFlow(unittest.TestCase):
app = object.__new__(ReticulumMeshChat)
app.contexts = {}
app.current_context = None
+ app.storage_dir = temp
+ app.identity_file_path = None
app._teardown_all_contexts_for_reload = unittest.mock.Mock()
db = Database(db_path)


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────